<div id="leftside">
	<div id="accordion">
		<h3 class=""><a href="#">热门收藏</a></h3>
		<ul id="default_list">
		<? foreach ($blogs as $i=>$val): ?>
			<? if(!empty($val["Blog"]["url"])): ?>
			<li class="ui-corner-all<?= isset($val['select']) ? ' li_selected' : ''?>"><a href="<?=$html->url('/blogs/view/')?><?=urlencode($val["Blog"]["rss_url"])?>"><?=$val["Blog"]["title"]?></a></li>
			<? endif; ?>
		<? endforeach; ?>
		</ul>
		<h3><a href="#">我的收藏</a></h3>
		<ul id="my_list">
			<? if($gdata['user']): ?>
				<? if(empty($mylist)): ?>
					<p>你还没有添加收藏</p>
				<? else: ?>
					<? foreach ($mylist as $i=>$val): ?>
						<li class="ui-corner-all<?= isset($val['select']) ? ' li_selected' : ''?>"><a href="<?=$html->url('/blogs/view/')?><?=urlencode($val["Blog"]["rss_url"])?>?s=1"><?=$val["Blog"]["title"]?></a></li>
					<? endforeach; ?>
				<? endif; ?>
		<? else: ?>
			<p>此功能需要<a href="javascript:;" onclick="GSL.login()">登陆</a>后才能使用</p>
		<? endif; ?>
		</ul>
	</div>
</div> 